diff-mode: Optimize source language syntax highlighting
authorDmitry Gutov <dmitry@gutov.dev>
Mon, 17 Jun 2024 19:51:23 +0000 (22:51 +0300)
committerDmitry Gutov <dmitry@gutov.dev>
Mon, 17 Jun 2024 19:53:35 +0000 (22:53 +0300)
commitf7953a0eef4bf6505352c199a2f8ae8f3563fdfa
tree0dcff4b0ce154cdbbe07d98ac3c64daf45c02e5f
parentb26270ae94329131966bf2d836cf6c90b90e5cdd
diff-mode: Optimize source language syntax highlighting

* lisp/vc/diff-mode.el (diff--get-revision-properties):
Never pass FILE to 'diff-syntax-fontify-props'; assume that
'vc-find-revision-no-save' has called the major mode function
already (bug#71604).
lisp/vc/diff-mode.el